home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 30
/
Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso
/
Aminet
/
util
/
misc
/
MemorySnooper.lha
/
MemorySnooper
/
MemorySnooper.doc
< prev
next >
Wrap
Text File
|
1991-08-26
|
7KB
|
255 lines
MemorySnooper
-------------
Author:
Przemyslaw `SENSEI` Gruchala
os.Sportowe 19/4
Krakow 31-966
POLAND
Distribution
------------
MemorySnooper is SHAREWARE program.If you often use and/or you want to
remove an awful requester which demand registration you should send on
my address:
- for registration (first time) $15 (fifteen US dolars).
- for upgrade (for registered users) most probably $10-12
(I`ll know how much after writing next version).
- floppy disk or $2.
- return envelope or normal plus mail charge.
You should write on envelope in visible place:
- first name and surname
- address with your country obviously.
- name of program that you want to register and it version,
(if you don`t write version I`ll send you latest version).
MemorySnooper
MemorySnooper.info
MemorySnooperPL.doc
MemorySnooperPL.doc.info
MemorySnooper.doc
MemorySnooper.doc.info
MemorySnooper.cd
MemorySnooper.ct_polski
Catalogs/Polski/MemorySnooper.catalog
Any change in these files are forbid.
Distribution of registered version without my writed permission is inadmis-
sible,immoral,illegal and forbidden.
Requirements
------------
MemorySnooper require:
- KickStart v2.0+.
- commodities.library v36.
- gadtools.library v36.
- lot of free memory.
Recommended:
- reqtools.library
- diskfont.library
- locale.library
MemorySnooper correct work with:
MultiCX v2.62,
ToolsDaemon`em v37.45,
CycleToMenu v37.6,
MagicMenu v1.27,
TRTPatch v1.2
To what you can use it
----------------------
Fundamentaly,MemorySnooper is a program for programmers and using it for
other purposes than debugging is rather without sense (but ofcourse you can).
This program graphicaly traces using memory by programs and operating system.
This is adequate to SnoopDos but with relation to memory.
MemorySnooper for purpose of tracing memory installs patch on Exec functions:
AllocMem() and FreeMem().Therefor programs that ingerate on this functions
may make problems during working with MemorySnooper.
I noticed that MemorySnooper don`t like powerpacker.library v36.10 (other
versions I hadn`t tested,but I suspect that they won`t work well too).
Most probably every program which are using powerpacker.library (eg.FileMaster,
DirectoryOpus) will be locking possibility of quiting MemorySnooper.Therefor
for avoiding that you should first load powerpacker.library to memory and
then start work with MemorySnooper.
Program PowerPacker v4.0 with MemorySnooper in the background during quit
will be crashing computer.
MemorySnooper have been writen on CygnusED v4.2,
and compile in AmigaE v3.2a/v3.1i on computer:
Amiga 500,1 MB CHIP,4 MB FAST,000 7 MHz,HDD 850 MB,
KickStart v2.04 (37.175),Workbench v2.1 (38.35)
and tested on:
Amiga 600,1 MB CHIP,4 MB FAST,020 28 MHz,
KickStart v2.05 (37.299),Workbench v2.0 (37.71)
Amiga 1200,2 MB CHIP,4 MB FAST,020 14 MHz,HDD 850 MB,
KickStart v3.0
MemorySnooper v0.3 work fine in AmigaShow`98 on computers:
Amiga 1200,2 MB CHIP,64 MB FAST,040 40 MHz,
KickStart v3.1 (40.x),Workbench v3.1
Amiga 1200,2 MB CHIP,64 MB FAST,060 50 MHz,
KickStart v3.1 (40.x),Workbench v3.1
Preferences
-----------
In MemorySnooper v0.2 beta you can set preferences only in ToolTypes of
icon MemorySnooper.
ToolTypes`y:
In place digit parameter you write number in format Val() of AmigaE.
In place string parameter you write string without commas.
Format: NAME - TYPE - DEFAULT
CX_POPUP - YES/NO - YES
CX_PRI - from -128 to 127 - 0
CX_POPKEY - string - shift alt m
Set Commodity parameters v0.3
TASK_NAMELENGTH - digit - 32
Length of name of program who will be allocated with message from patch and
create a chunk with information about allocated memory.
You can decrease consumption memory of MemorySnooper if you use this ToolType.
BEEP_MODE - YES/NO - YES
This ToolType tell: during error or important information appears a sound.
ABOUT_MODE - YES/NO - YES
This ToolType tell: during starting work appears an information about author
and program.
QUIT_MODE - ASK/IMMEDIATE - ASK
Method of quiting of MemorySnooper: Asks you about quiting or quits immediately.
APP_MODE - NONE/ICON/WINDOW/INVISIBLE - ICON
Method of hiding of MemorySnooper: none/icon/window or invisible.
APP_PUBSCREENMODE - DEFAULT/PUBSCREEN - PUBSCREEN
Mode of hiding in window hide method: default or public screen of main window.
APP_ICON - string - ENV:MemorySnooper/def_App
Path to icon in icon hide method.
LOG_MODE - OVERWRITE/APPEND - OVERWRITE
Mode of loging: overwrite/append (overwrite should be used if output of
loging is PRT:).
LOG_INFOMODE - YES/NO - YES
This ToolType tell: append a appendix information during loging.
LOG_FILENAME - string - PRT:
Path to file or device to which you want loging.
FONT_TYPE - DEFAULT/SCREEN/CUSTOM - SCREEN
Type of font on the gadgets: default(Topaz/8)/screen/custom.
If you set type to custom you should also set:
FONT_NAME - string - Topaz.font
Name of font (with suffix .font)
FONT_YSIZE - digit - 8
Size of font (size not existing on the disk will be create).
FONT_STYLE - digit - 0
Mask of style (you must look to docs and/or to includes).
ToolTypes LISTFONT_* have the same meaning as FONT_* but referes to list
of information about memory.
Attention: font must have the same horisontal size (eg.Topaz/8)
PUBSCREEN_NAME - string - Workbench
Name of public screen on which appears main window of program.
WINDOW_X/Y/WIDTH/HEIGHT - digit - 0/0/scaled to size of font
Set position and size of main window.
ToolTypes PREFSWINDOW_* have the same meaning as WINDOW_* but referes to
window of preferences.
Bugs
----
Conflict with powerpacker.library and PowerPacker v4.0.
Libraries and operation system sometimes allocates and don`t frees memory
therefor may happen we will see ALLOC/LOST in field of type of memory.
Freing the memory that is used to patch or other data added to system (eg.
ports,semaphores,windows,screens etc.) may be cause of crashing the computer.
Therefor you shouldn`t uses MemorySnooper to other purposes than debugging
programs.
If you find a bug or program who don`t work correctly with MemorySnooper
or you have a good idea give me a sign.
History
-------
Version 0.2 beta
----------------
First release of MemorySnooper on the world.
Gadget PAUSE nonactive (for now).
Gadget PREFS nonactive (preferences you must set "by hand" in ToolTypes).
Gadget FREE nonactive (for now).
Date: 29.III.1998-5.V.1998.
Version 0.3/0.31 beta
---------------------
Second release of MemorySnooper.
Added:
- commodities support.
- menu (gadtools.library v36 required).
- gadgets PAUSE/FREE and menu SELECT/UNSELECT disabled.
- removed minor bugs (in rendering functions,in locale and others).
Date: 19.VI.1998/24.VI.1998
Future
------
Future of this program is in your hands.If I see a sense of expanding
MemorySnooper (support by registrations and new ideas) you should expect:
- preferences set in program.
- ARexx port.
- save "session" of work MemorySnooper.
- set format in list and loging.
- include/exclude trace of chosen programs or tasks.